//
// Created by hps on 24-3-31.
//

#include "NoteBookDirNavigationWindow.h"

namespace hps {
NoteBookDirNavigationWindow::NoteBookDirNavigationWindow() {
    m_layout = new QVBoxLayout(this);
    m_frame = new QTabWidget(this);
    init();
    setUi();
}

void NoteBookDirNavigationWindow::init() {
    m_layout -> setAlignment(Qt::AlignTop);
    m_layout -> setContentsMargins(0,0,0,0);
    m_layout -> setSpacing(0);

    this -> setStyleSheet("background-color: blue;");
}

void NoteBookDirNavigationWindow::setUi() {
    m_layout -> insertWidget(0, m_frame);
}
} // hps